:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color-scheme: light dark;
  color: #222;
  background-color: #f6f8fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --primary: #409eff;
  --primary-light: #e3f0ff;
  --border: #e5e6eb;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(64, 158, 255, 0.08), 0 1.5px 6px rgba(0,0,0,0.04);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f6f8fa 0%, #fff 100%);
  color: #222;
}

#app {
  min-height: 100vh;
  width: 100vw;
  margin: 0 auto;
  padding: 0;
  background: none;
}

a {
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #1976d2;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5em;
}

button {
  border-radius: var(--radius);
  border: none;
  padding: 0.6em 1.4em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px #e3e3e3;
  transition: background 0.2s, box-shadow 0.2s;
}
button:disabled {
  background: #bcdcff;
  cursor: not-allowed;
}
button:not(:disabled):hover {
  background: #1976d2;
  box-shadow: 0 4px 16px #bcdcff;
}

input, textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  outline: none;
  font-size: 16px;
  background: #fff;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 8px;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px #e3f0ff;
}

.card, .article-list, .article-detail, .editor-page, .todo-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin: 40px auto;
  max-width: 800px;
}

::-webkit-scrollbar {
  width: 8px;
  background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
  background: #bcdcff;
  border-radius: 4px;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}
